package com.xu.jz.dao;

import com.xu.jz.bean.Comment;
import com.xu.jz.bean.CommentExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CommentMapper {
    
    long countByExample(CommentExample example);

    
    int deleteByExample(CommentExample example);

    
    int deleteByPrimaryKey(Long id);

    
    int insert(Comment record);

    
    int insertSelective(Comment record);

    
    List<Comment> selectByExample(CommentExample example);

    
    Comment selectByPrimaryKey(Long id);

    
    int updateByExampleSelective(@Param("record") Comment record, @Param("example") CommentExample example);

    
    int updateByExample(@Param("record") Comment record, @Param("example") CommentExample example);

    
    int updateByPrimaryKeySelective(Comment record);

    
    int updateByPrimaryKey(Comment record);
}